
export class ManagerModal {
    public userId: string;
    public type: string;
    public descr: string;
    public position: string;

    constructor(obj?) {
        const instance = this;
        if (!obj) { return; }
        (obj.userId) && (instance.userId = obj.userId);
        (obj.type) && (instance.type = obj.type);
        (obj.descr) && (instance.descr = obj.descr);
        (obj.position) && (instance.position = obj.position);
    }
}

export class RosterModal {

    public userId: string;
    // 人员类型
    public type: any;
    // 班组选项
    public teamId: string;
    // 工种
    public majorId: string;

    constructor(obj?) {
        const instance = this;
        if (!obj) { return; }
        (obj.type) && (instance.type = obj.type);
        (obj.teamId) && (instance.teamId = obj.teamId);
        (obj.majorId) && (instance.majorId = obj.majorId);
        (obj.userId) && (instance.userId = obj.userId);

    }
}


